Skip to main content

Rename element

RENAME_ELEMENT_CSS

Renames an element based on its CSS selector.

Parameters

  • css (String): The CSS selector, e.g. p > b
  • newname (String): The new name of the element
  • topicText (String): The text of the topic. Use $TOPIC_XHTML
  • trackChanges (String): Track changes? True or false.

Returns

The processed XHTML text.